package com.mxfcode.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @类名 YunYiCampusBBSApplication
 * @描述 TODO
 * @作者 mxf
 * @创建日期 2020/12/30 10:24
 **/
@SpringBootApplication(scanBasePackages = "com")
@ComponentScan(value = {"com"})
//@MapperScan({"com.mxfcode.bbs_back.bbs_yhgl.dao"})
 @MapperScan({"${mybatis.mapperScanner.basePackage}"})
public class YunYiCampusBBSApplication {
    public static void main(String[] args) {
        SpringApplication.run(YunYiCampusBBSApplication.class,args);
    }
}
